// CustomRs.h: interface for the CCustomRs class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_CUSTOMRS_H__C82EFC30_92D0_482F_B940_F9F56CEEA510__INCLUDED_)
#define AFX_CUSTOMRS_H__C82EFC30_92D0_482F_B940_F9F56CEEA510__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define INITGUID


#pragma warning(disable:4146)
#import "C:\Program Files\Common Files\System\ADO\msadox.dll" rename_namespace("ADOX")
#import "C:\Program Files\Common Files\System\ADO\msado15.dll" rename_namespace("ADOCG") rename("EOF", "EndOfFile")
using namespace ADOCG;
#include "icrsint.h"
#pragma warning(default:4146)

#include "afxdao.h"

class CCustomRs : public CADORecordBinding  
{
public:

	BEGIN_ADO_BINDING(CCustomRs)

	
	ADO_VARIABLE_LENGTH_ENTRY2(1, adVarChar, m_szVerseCode, 
            sizeof(m_szVerseCode) , lVerseCodeStatus, TRUE)
	ADO_VARIABLE_LENGTH_ENTRY2(2, adVarChar, m_szVerseText, 
            sizeof(m_szVerseText) , lVerseTextStatus, TRUE)
	
	END_ADO_BINDING()

public:
	TCHAR m_szVerseCode[30];
    ULONG lVerseCodeStatus;

    TCHAR m_szVerseText[65000];
    ULONG lVerseTextStatus; 

	
};


// this class is for daily bible
class CCustomRsDB : public CADORecordBinding  
{
public:

	BEGIN_ADO_BINDING(CCustomRsDB)

	
	ADO_VARIABLE_LENGTH_ENTRY2(1, adVarChar, m_szDate, 
            sizeof(m_szDate) , lDateStatus, TRUE)
	ADO_VARIABLE_LENGTH_ENTRY2(2, adVarChar, m_szRead, 
            sizeof(m_szRead) , lReadStatus, TRUE)
	ADO_VARIABLE_LENGTH_ENTRY2(3, adVarChar, m_szText, 
            sizeof(m_szText) , lTextStatus, TRUE)
	
	END_ADO_BINDING()

public:
	TCHAR m_szDate[10];
    ULONG lDateStatus;

	TCHAR m_szRead[2];
	ULONG lReadStatus;

    TCHAR m_szText[65000];
    ULONG lTextStatus; 

	
};








#endif // !defined(AFX_CUSTOMRS_H__C82EFC30_92D0_482F_B940_F9F56CEEA510__INCLUDED_)
